set(LIB_NAME libembx)

add_library(${LIB_NAME}
    SpdLogger.cpp
    GuidGen.cpp
)

target_link_libraries(${LIB_NAME}
    ${catkin_LIBRARIES}
    uuid
)

install(DIRECTORY .
   DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
   FILES_MATCHING PATTERN "*.h"
   PATTERN ".svn" EXCLUDE
)

install(TARGETS ${LIB_NAME}
    DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
#   LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
#   RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
)
